package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by lyh on 2017-02-22.
 */

public class InfoScopeEntity implements Serializable {
    private static final long serialVersionUID = 5769519634080067043L;
    private Integer giId;
    private Integer infoId;
    private int scopeId;


    public Integer getGiId() {
        return giId;
    }

    public void setGiId(Integer giId) {
        this.giId = giId;
    }


    public Integer getInfoId() {
        return infoId;
    }

    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        InfoScopeEntity that = (InfoScopeEntity) o;

        if (giId != null ? !giId.equals(that.giId) : that.giId != null) return false;
        if (infoId != null ? !infoId.equals(that.infoId) : that.infoId != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = giId != null ? giId.hashCode() : 0;
        result = 31 * result + (infoId != null ? infoId.hashCode() : 0);
        return result;
    }


    public int getScopeId() {
        return scopeId;
    }

    public void setScopeId(int scopeId) {
        this.scopeId = scopeId;
    }


}
